package xyz.comfyz.web.commons.security.provider;


import xyz.comfyz.web.commons.security.model.Authentication;
import xyz.comfyz.web.commons.security.model.Authority;

/**
 * @author :    comfy
 * @date :      2018-05-12 16:04:49
 * @since :     1.8
 * <p>
 * 用户信息提供
 */
public interface UserDetailsService<T, E extends Authority> {
    Authentication<T, E> loadUser(String userId);
}
